package top.kaoshanji.p2ch18a.support;

import java.util.Random;
import java.util.concurrent.Callable;

/**
 * author kaoshanji
 * ^_^
 * create time 2025/2/27 16:22
 */
public class Task implements Callable<Integer> {

    @Override
    public Integer call() throws Exception {
        int sleepSeconds = new Random().nextInt(1000);
        Thread.sleep(sleepSeconds);
        return sleepSeconds;
    }
}
